package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.vo.NursingPlanVo;

/**
 * <p>
 * 护理计划表 服务类
 * </p>
 *
 * @author author
 * @since 2024-08-15
 */
public interface NursingPlanService extends IService<NursingPlan> {

    //分页条件查询
    PageResponse<NursingPlan> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    //新增计划
    void saveNursingPlan(NursingPlanDto nursingPlanDto);

    //根据id查询计划
    NursingPlanVo findById(Long id);

    //修改计划
    void updatePlan(NursingPlanDto nursingPlanDto);

    //根据id删除
    void deleteById(Long id);
}
